<?php
$login = array('id' => 'login', 'name' => 'login', 'value' => set_value('login'), 'size' => 30, 'maxlength' => 80);
$submit = array('class' => 'btn btn-success', 'name' => 'reset', 'value' => lang('auth_submit'));
$login_label = $this->config->item('use_username', 'tank_auth') ? 'auth_email_or_username' : 'auth_email';

echo form_open($this->uri->uri_string());
?>

<div class="page-header">
    <h3><?php echo lang('auth_send_new_password'); ?></h3>
</div>

<p>
    <span class="form-inline">
        <?php
        echo
        lang($login_label, $login['id']).form_input($login).
        form_error($login['name'], '<span class="alert">', '</span>');
        if(isset($errors[$login['name']]))
            echo '<span class="alert">'.$errors[$login['name']].'</span>';
        ?>
    </span>
</p>

<p class="form-actions"><?php echo form_submit($submit); ?></p>

<?php echo form_close(); ?>